<?php

namespace App\Models;

use App\Library\Models\Entity;

class ShopOrderGoodsModel extends Entity
{
    protected $table = 'shop_order_goods';

    protected $casts = ['info' => 'json'];

    protected $fillable = [
        'id',
        'order_id',
        'seller_id',
        'product_file_id',
        'spec_file_id',
        'product_id',
        'spec_id',
        'title',
        'spec',
        'quantity',
        'original_price',
        'special_price',
        'price',
        'discount',
        'discount_special',
        'discount_sub',
        'discount_coupon',
        'commission',
        'buy_will_id',
        'info',
        'created_at',
        'updated_at'
    ];
}
